package service.impl;

import persistence.BlogMapper;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import domain.Blog;
import service.BlogService;

/**
 * @author zhaohaolin(zhaohaolin2010@gmail.com)
 */
@Singleton
public class BlogServiceImpl implements BlogService {

	public Blog selectBlog(int id) {
		return mapper.selectBlog(id);
	}

	@Inject
	private BlogMapper mapper;

}
